<?
@session_start();
if($_SESSION["ids"] != "" && $_SESSION["usernames"] != ""){
	//echo "<script>location.href='index.php';</script>";
}else{
	echo "<script>location.href='login.php';</script>";
	//echo "asdasd";
}

include("index_main.php");
?>